package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`test_demo`")
@Data
@ApiModel("")
public class TestDemo implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键", example = "String")
    private String id;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人登录名称", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人登录名称", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`name`")
    @ApiModelProperty(value = "用户名", example = "String")
    private String name;
    @Column(name = "`sex`")
    @ApiModelProperty(value = "性别", example = "String")
    private String sex;
    @Column(name = "`age`")
    @ApiModelProperty(value = "年龄", example = "1")
    private Integer age;
    @Column(name = "`descc`")
    @ApiModelProperty(value = "描述", example = "String")
    private String descc;
    @Column(name = "`birthday`")
    @ApiModelProperty(value = "生日", example = "2019-05-05 17:55:31")
    private Date birthday;
    @Column(name = "`user_code`")
    @ApiModelProperty(value = "用户编码", example = "String")
    private String userCode;
    @Column(name = "`file_kk`")
    @ApiModelProperty(value = "附件", example = "String")
    private String fileKk;
    @Column(name = "`top_pic`")
    @ApiModelProperty(value = "头像", example = "String")
    private String topPic;

    private static final long serialVersionUID = 1L;
}
